#include<stdio.h>
void reverse(char arr[], int sz)
{
	char* ptr = arr;
	char* p = arr + sz - 2;
	while (ptr < p) {
		char tmp = *ptr;
		*ptr = *p;
		*p = tmp;
		ptr++;
		p--;
	}
}
int main() {
	char arr[] = { "hello bit" };
	int sz = sizeof(arr) / sizeof(arr[0]);
	printf("%s\n", arr);
	reverse(arr, sz);
	printf("%s\n", arr);
	return 0;
}